// array_argument_test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

template <typename T, size_t N>
char (&ArraySizeHelper(T (&array)[N]))[N];
#define arraysize(array) (sizeof(ArraySizeHelper(array)))

int _tmain(int argc, _TCHAR* argv[])
{
	int arr[20];
	
	int num = arraysize(arr);

	return 0;
}

